<?php 

header("Content-type: image/png");

$src = imageCreateTrueColor(200,100); 

$color = imageColorAllocate($src,mt_rand(0,255),mt_rand(0,255),mt_rand(0,255));

imagefill($src , 0, 0, $color );


$color = imageColorAllocate($src,mt_rand(0,255),mt_rand(0,255),mt_rand(0,255));


for ($i=0; $i < 100; $i++) { 
	$color = imageColorAllocate($src,mt_rand(0,255),mt_rand(0,255),mt_rand(0,255));
	imagesetpixel ( $src , mt_rand(0,200) ,mt_rand(0,100) ,$color ) ;
}
for ($i=0; $i < 20; $i++) { 
	$color = imageColorAllocate($src,mt_rand(0,255),mt_rand(0,255),mt_rand(0,255));
	imageline ( $src , mt_rand(10,200) , mt_rand(50,200) , mt_rand(10,150), mt_rand(10,50) , $color );
}
for ($i=0; $i < 4; $i++) { 
	$color = imageColorAllocate($src,mt_rand(0,255),mt_rand(0,255),mt_rand(0,255));
	$add='qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM';
	$arr=$add[mt_rand(0,strlen($add)-1)];
	$width=$i*43;
	$width+=10;
	$heigth=mt_rand(80,90);
	imagettftext ( $src , 100 , mt_rand(-10,10) ,$width, $heigth ,$color ,'./JustBrains.ttf',$arr);
}



imagepng($src); 

?>